
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Acredito-me Donations</title>

    <!-- Bootstrap -->
    <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> -->
    <link href="{{baseurl}}/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="{{baseurl}}/css/bootstrap-select.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <center>
      <br>
      <img src="{{baseurl}}/logo.png" style="max-width:200px">
      <br> <br> Select your currency:<br><br>
      <select  class="selectpicker" id="currency_code" data-live-search="true">
  		  <option value="">Select Currency</option>
  		  <option value="AUD">Australian Dollar (AUD)</option>
  		  <option value="BRL">Brazilian Real (BRL)</option>
  		  <option value="CAD">Canadian Dollar (CAD)</option>
  		  <option value="CZK">Czech Koruna (CZK)</option>
  		  <option value="DKK">Danish Krone (DKK)</option>
  		  <option value="EUR">Euro (EUR)</option>
  		  <option value="HKD">Hong Kong Dollar (HKD)</option>
  		  <option value="HUF">Hungarian Forint (HUF)</option>
  		  <option value="ILS">Israeli New Sheqel (ILS)</option>
  		  <option value="JPY">Japanese Yen (JPY)</option>
  		  <option value="MYR">Malaysian Ringgit (MYR)</option>
  		  <option value="MXN">Mexican Peso (MXN)</option>
  		  <option value="NOK">Norwegian Krone (NOK)</option>
  		  <option value="NZD">New Zealand Dollar (NZD)</option>
  		  <option value="PHP">Philippine Peso (PHP)</option>
  		  <option value="PLN">Polish Zloty (PLN)</option>
  		  <option value="GBP">Pound Sterling (GBP)</option>
  		  <option value="SGD">Singapore Dollar (SGD)</option>
  		  <option value="SEK">Swedish Krona (SEK)</option>
  		  <option value="CHF">Swiss Franc (CHF)</option>
  		  <option value="TWD">Taiwan New Dollar (TWD)</option>
  		  <option value="THB">Thai Baht (THB)</option>
  		  <option value="TRY">Turkish Lira (TRY)</option>
  		  <option value="USD" SELECTED="YES">U.S. Dollar (USD)</option>
      </select>
      <br>
      <br>
      <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self" >
        <input type="hidden" name="cmd" value="_xclick">
        <input type="hidden" name="business" value="{{ c.paypal_email }}" >
        <input type="hidden" name="item_name" value="{{ c.name }}">
        <test> </test>
        <input type="hidden" name="quantity" value="1">
      <!-- <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
      <img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif" width="1" height="1"> -->
      <button type="submit" class="btn btn-success">Continue</button>
      </form>
      <br>
      You will be redirected to <br><img src="{{baseurl}}/img/bancos/paypal.png" width="100px">
    </center>



    </script>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <script src="{{baseurl}}/js/bootstrap-select.js"></script>
    <script>
    function displayVals() {
      var cc = $( "#currency_code" ).val();
      $( "test" ).html( "<input type='hidden' name='currency_code' value='" + cc + "'>");
    }

    $( "select" ).change( displayVals );
    displayVals();
    </script>
  </body>
</html>
